<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/css/bootstrap.css" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/css/addBook.css" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/jquery-3.3.1.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/bootstrap.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath }/resources/js/ajaxfileupload.js"></script>
</head>
<body>
	<!--取出上一个页面上带来的page的值-->

	<div id="addAll">
		<div id="nav">
			<p>员工管理>新增员工</p>
		</div>

		<div id="table">
			<form action="${pageContext.request.contextPath}/users/addUser" method="post" id="myform">
				<table>
					<tr>
						<td class="one">用户名</td>
						<td><input type="text" name="uname" class="two"></td>
					</tr>
					<tr>
						<td class="one">密码</td>
						<td><input type="password" name="upass" class="two"></td>
					</tr>
					<tr>
						<td class="one">真实姓名</td>
						<td><input type="text" name="realname" class="two"></td>
					</tr>
					<tr>
						<td><input type="submit" value="提交" class="btn btn-success">
						</td>
						<td><input type="reset" value="取消" class="btn btn-default"
							onclick="toUserPage()"></td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</body>
<script type="text/javascript">
	function toUserPage() {
		window.location = "${pageContext.request.contextPath}/users/toUsersPage"
	}
</script>
</html>